<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 10/7/14
 * Time: 4:51 PM
 */

namespace controller;

if (!defined('NYMPH_ROOT')) {
  define('NYMPH_ROOT', dirname("../../../" . __FILE__));
  require(NYMPH_ROOT . '/local/loader/kernel/classes/URLClassLoader.php');
}

/**
 * Class Action used for web actions
 * @package controller
 */
class Action extends BaseWebActor
{

  /**
   * @var string $forward name of the other action
   */
  private $forward;

  /**
   * @var string $mapping url where action will be called
   */
  private $mapping;

  /**
   * @return string
   */
  public function getForward()
  {
    return $this->forward;
  }

  /**
   * @param string $forward
   */
  public function setForward($forward)
  {
    $this->forward = $forward;
  }
}